<include file="Public/header"/>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h1>社团活动详情</h1>

     <select class="form-control" name="videotype">
  	    <option selected="selected" value="">请选择</option>
        <?php
        $con =mysql_connect('localhost','root','');
		if (!$con) {
		    die('数据库不存在'.mysql_errno());
		}
		mysql_set_charset('utf8');
		//设置字符集
		$db=mysql_select_db('study',$con);	
        $sql='select * from users';
        $result=mysql_query($sql,$con); 
        while ($row=mysql_fetch_assoc($result)) 
        {
            echo'<option value="'.$row['username'].'">'.$row['stunum'].'</option>';
        }
        ?>
     </select>


<include file="Public/footer"/>